package com.yu.thread5;

/**
 * Created by xiaolongyu on 15/3/19.
 */
public class PairManager1 extends PairManager {

    @Override
    public synchronized void increment() {
        System.out.println("increment:" + p);
        p.incrementX();
        p.incrementY();
        store(getPair());
    }
}
